/**
 * Shared file patterns and ignore rules for file discovery and watching
 */

export const FILE_IGNORE_PATTERNS = [
  "**/node_modules/**",
  "**/dist/**",
  "**/build/**",
  "**/out/**",
  "**/target/**",
  "**/.git/**",
  "**/.vscode/**",
  "**/.idea/**",
  "**/coverage/**",
  "**/*.min.js",
  "**/*.min.css",
  "**/*.bundle.js",
  "**/*.bundle.css",
  "**/.DS_Store",
  "**/Thumbs.db",
  "**/*.log",
  "**/*.tmp",
  "**/*.temp",
  "**/*.swp",
  "**/*.swo",
  "**/*.bak",
  "**/*.orig",
  "**/*.rej",
  "**/*.pyc",
  "**/*.pyo",
  "**/*.class",
  "**/*.o",
  "**/*.obj",
  "**/*.exe",
  "**/*.dll",
  "**/*.so",
  "**/*.dylib",
  "**/*.a",
  "**/*.lib",
  "**/*.jar",
  "**/*.war",
  "**/*.ear",
  "**/*.zip",
  "**/*.tar.gz",
  "**/*.tgz",
  "**/*.rar",
  "**/*.7z",
  "**/.next/**",
];

export const FILE_PATTERNS = [
  "**/*.{ts,tsx,js,jsx,py,java,cpp,c,h,hpp,cs,go,rs,rb,php,swift,kt,scala,md,json,yaml,yml,xml,html,css,scss,sass,less,sql,sh,dockerfile,makefile,cmake,gradle,toml,ini,env,txt,log}",
  "**/README*",
  "**/LICENSE*",
  "**/CHANGELOG*",
  "**/package.json",
  "**/Cargo.toml",
  "**/pyproject.toml",
  "**/composer.json",
  "**/Gemfile",
  "**/.gitignore",
  "**/.env*",
];
